﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM.Model
{
    [Serializable]
    public partial class RMRoleModule
    {
        public RMRoleModule()
        { }

        private int _id;
        private int _roleid;
        private string _modulename;
        private bool _canread;
        private string _others;

        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleId
        {
            get { return _roleid; }
            set { _roleid = value; }
        }
        /// <summary>
        /// 角色模块名称
        /// </summary>
        public string ModuleName
        {
            get { return _modulename; }
            set { _modulename = value; }
        }
        /// <summary>
        /// 是否可以读取
        /// </summary>
        public bool CanRead
        {
            get { return _canread; }
            set { _canread = value; }
        }
        /// <summary>
        /// 具体权限
        /// </summary>
        public string Others
        {
            get { return _others; }
            set { _others = value; }
        }
    }
}
